package com.yuwei.bean;

import java.util.ArrayList;
import java.util.List;

public class UsersData {
    private int pagenum;
    private int total;
    private List<User> users = new ArrayList<>();

    public int getPagenum() {
        return pagenum;
    }

    public void setPagenum(int pagenum) {
        this.pagenum = pagenum;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<User> getUsers() {
        return users;
    }

    public void setUsers(List<User> users) {
        this.users = users;
    }

    public void addUser(User user){
        users.add(user);
    }
}
